const express = require("express");
const router = express.Router();
const handle = require("../routes_handle/user");

// 注册/登录
router.post("/user/register", handle.register);

// 删除
router.post("/user/delete", handle.delete);

// 修改密码
router.post("/user/edit", handle.edit);

// 查询
router.post("/user/list", handle.list);
module.exports = router;
